package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "user_sound")
public class Sound implements java.io.Serializable{

     private static final long serialVersionUID = 4003173826820874230L;

     private ObjectId id; //主键id

     private Long sid; //自增长id

     private Long userId;  //登录用户id

     private String soundUrl;  //语音地址

     private Long created; //创建时间

}